package com.lakeworks.common.exception.base.channel;

import com.lakeworks.common.enums.ChannelErrorEnum;
import lombok.Getter;

/**
 * @Author: Auxps
 * @Date: 2023/3/16
 * Description:
 */
@Getter
public class ThirdChannelException extends RuntimeException {

    private static final long serialVersionUID = 8287583393116805510L;

    private String errcode;

    public ThirdChannelException(ChannelErrorEnum channelErrorEnum) {
        super(channelErrorEnum.getErrcode());
        this.errcode = channelErrorEnum.getErrcode();
    }
}
